'''
Created on Jul 6, 2012

@author: Hung
'''
from google.appengine.ext import db

class DonHang(db.Model):
    maKH = db.IntegerProperty()
    ngayDat = db.DateProperty()
    ngayGiao = db.DateTimeProperty()
    ngayGiao1 = db.DateProperty()
    ngayThanhToan = db.DateProperty()
    trangThai = db.StringProperty()    
    #0: dang dat hang; 1: da dat hang; 2: khoa; 3: da co hang; 4: da giao hang; 5: khong giao hang   
    ghiChu = db.StringProperty()
    tienDaThanhToan = db.FloatProperty()
    tongTien = db.FloatProperty()
    maNVGiaoHang = db.IntegerProperty()
    tenNVGiaoHang = db.StringProperty()
    nvThayDoi = db.StringProperty()
    maNVDat = db.IntegerProperty()
    tenNVDat = db.StringProperty()
    duTru = db.BooleanProperty()
    
    